﻿using System.ComponentModel.DataAnnotations;

namespace Pear.Application.LiveCenter
{
    /// <summary>
    /// 新增视频信息
    /// </summary>
    public class AddVideoInput  
    { 

        /// <summary>
        /// 视频标题
        /// </summary> 
        [MaxLength(200, ErrorMessage = "视频标题不能超过 100 个字符")]
        public string Name { get; set; }

        /// <summary>
        /// 视频标题
        /// </summary> 
        [MaxLength(200, ErrorMessage = "视频地址不能超过 100 个字符")]
        public string Url { get; set; }

        /// <summary>
        /// 是否启用
        /// </summary>
        public bool Enabled { get; set; } = true;
    }
}